﻿namespace Microsoft.SharePoint.Client
{
    using System;

    public static class ClientUtility
    {
        public static Exception CreateArgumentException(string argumentName)
        {
            return new ArgumentException(Resources.GetString("ArgumentExceptionMessage", new object[] { argumentName }));
        }

        public static Exception CreateArgumentNullException(string argumentName)
        {
            return new ArgumentNullException(argumentName, Resources.GetString("ArgumentNullExceptionMessage", new object[] { argumentName }));
        }
    }
}

